package cn.itsource.basic.service;

import cn.itsource.basic.exception.CustomException;

/**
 * 验证码service
 */
public interface IVerificationCodeService {

    /**
     * 发送注册验证码
     * @param phone  手机号
     */
    void sendRegisterVerificationCode(String phone) throws CustomException;

    /**
     * 微信绑定手机号码验证码
     * @param phone  手机号
     */
    void sendBinderVerificationCode(String phone) throws CustomException;
}
